package com.itheima.二维数组;

/**
 * @Author 王加鑫
 * @Date 2021/4/24 15:55
 * @Version 1.0
 * 初始二维数组
 */
public class Test1 {
    public static void main(String[] args) {
        int[][] arr = {{1,2,3,4,5,6},{7,8,9,10,11,12}};
        for (int i = 0; i < arr.length; i++) {
            for(int j = 0; j<arr[i].length;j++){
                System.out.println(arr[i][j]);
            }
        }
    }
}
